<div class="document-dialog">
    <div class="document-dialog-img">
        <img src="${document.cover!}" alt="">
    </div>
    <div class="document-dialog-info">
        <h4>${document.title!}</h4>
        <p>${document.categoryName!}</p>
    </div>
    <div class="document-dialog-price">
        <h3>价格 ${document.price/100.0}元</h3>
    </div>
    <div class="user-golds">
        <#if userMoney gt document.price>
            余额支付：<span>${document.price/100}</span>元
            (您的可用余额<span>${userMoney/100}</span>元)
        <#elseif userMoney gt 0>
            余额支付：<span>${userMoney/100}</span>元
            (您的可用余额<span>${userMoney/100}</span>元)
            <br />
            微信支付：<span>${(document.price - userMoney)/100}</span>元
        <#else>
            微信支付：<span>${document.price/100}</span>元
        </#if>
    </div>
</div>